package com.guijq.selfcode.writtenexamination;

import java.util.HashSet;
import java.util.Set;

/**
 * Created by Administrator on 2019/6/15.
 */
public class main {
    public static void main(String[] args) {


//        int[] a = new int[10];
//        System.out.println(a[0]);
//        String[] c= new String[10];
//        System.out.println(c[0]);
        Set<Short> s = new HashSet<>();
        for (Short i = 0 ;i<100;i++) {
            Short a = 1;
            s.add(i);
            s.remove((short)(i-1));
        }
        System.out.println(s.size());

        double bar = 2.23;

         int foo = (int) Math.ceil(bar);
         foo = (int) Math.floor(bar);
         foo = (int) Math.round(bar);
        System.out.println(foo);
    }
}
